package com.wyx.SpringSecurityConfig.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyx.SpringSecurityConfig.pojo.SecurityUser;

import java.util.List;

/**
 * <p>
 * 登录用户 Mapper 接口
 * </p>
 *
 * @author 王玉星
 * @since 2021-08-03
 */
public interface SecurityUserMapper extends BaseMapper<SecurityUserMapper> {

    SecurityUser getSecurityUserByUserName(String username);

    List<String> getRoleListByUserName(String username);

}
